Skip to content

posthog migration: part 3 #7365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025
Merged

Conversation

jnsdls
Copy link
Member

@jnsdls jnsdls commented Jun 18, 2025

Remove Analytics Tracking Components

This PR removes analytics tracking components and properties from the dashboard app. Key changes include:

  • Removed TrackedLinkTW and TrackedUnderlineLink components, replacing them with standard Link and UnderlineLink components
  • Removed tracking properties from sidebar links and navigation components
  • Eliminated tracking metadata from contract cards, NFT cards, and marketplace components
  • Removed tracking-related props from various UI components
  • Simplified component interfaces by removing tracking-specific parameters
  • Replaced legacy tracked button components with standard button components

These changes simplify the codebase by removing the analytics tracking layer while maintaining all core functionality.


PR-Codex overview

This PR focuses on enhancing link security by adding rel="noopener noreferrer" to various <Link> components throughout the application, which helps prevent potential security risks when opening links in new tabs.

Detailed summary

  • Added rel="noopener noreferrer" to multiple <Link> components.
  • Removed the TrackedLinkTW component in favor of standard <Link> for consistency.
  • Updated several tracking categories and labels for better analytics.
  • Improved accessibility and security across various components.

The following files were skipped due to too many changes: apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/metrics/components/EngineSystemMetrics.tsx, apps/dashboard/src/tw-components/link.tsx, apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/_components/NFTCards.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/import/EngineImportPage.tsx, apps/dashboard/src/components/explore/upsells/deploy-your-own.tsx, apps/dashboard/src/components/contract-functions/interactive-abi-function.tsx, apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/LatestEvents.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/contract-subscriptions/components/engine-contract-subscription.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/_components.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/_components/version.tsx, apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/NFTDetails.tsx, apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx, apps/dashboard/src/components/contract-components/publisher/publisher-header.tsx, apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/ContractOverviewPage.tsx, apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/PermissionsTable.tsx, apps/dashboard/src/app/(app)/(dashboard)/profile/[addressOrEns]/components/PublishedContractTable.tsx, apps/dashboard/src/components/explore/contract-card/index.tsx, apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/connect/account-abstraction/factories/page.tsx, apps/dashboard/src/components/embedded-wallets/Configure/index.tsx, apps/dashboard/src/@/components/blocks/app-footer.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/footer/FooterLinksSection.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/connect/account-abstraction/AccountAbstractionPage.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/ProjectSidebarLayout.tsx, apps/dashboard/src/components/buttons/MismatchButton.tsx, apps/dashboard/src/tw-components/button.tsx, apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx, apps/dashboard/src/components/cmd-k-search/index.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/ProjectFTUX/ProjectFTUX.tsx, apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/MarketplaceDetails.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Summary by CodeRabbit

  • Refactor

    • Removed all analytics tracking from links and buttons across the dashboard.
    • Replaced custom tracking link and button components with standard or simplified alternatives.
    • Updated component props and interfaces to eliminate tracking-related fields.
    • Streamlined UI components by removing tracking props and logic, resulting in cleaner navigation and interactions.
  • Style

    • Added rel="noopener noreferrer" attribute to all external links opening in new tabs for improved security and privacy.
    • Minor adjustments to link styling in some components to accommodate new link components.

No changes to core functionality or user workflows; navigation and UI remain consistent.

@vercel vercel bot temporarily deployed to Preview – nebula June 18, 2025 02:06 Inactive
Copy link

vercel bot commented Jun 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 19, 2025 1:04am
5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Jun 19, 2025 1:04am
login ⬜️ Skipped (Inspect) Jun 19, 2025 1:04am
nebula ⬜️ Skipped (Inspect) Jun 19, 2025 1:04am
thirdweb_playground ⬜️ Skipped (Inspect) Jun 19, 2025 1:04am
wallet-ui ⬜️ Skipped (Inspect) Jun 19, 2025 1:04am

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 18, 2025 02:06 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 18, 2025 02:06 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 18, 2025 02:06 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 18, 2025 02:06 Inactive
Copy link

changeset-bot bot commented Jun 18, 2025

⚠️ No Changeset found

Latest commit: d9eee50

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

coderabbitai bot commented Jun 18, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

This change removes all analytics tracking infrastructure and logic from the dashboard application. All tracking-related props, components (such as TrackedLink, TrackedLinkTW, TrackedUnderlineLink, TrackedCopyButton), and the useTrack hook are deleted. All UI components and links now use standard, non-tracking equivalents, and all tracking metadata is eliminated from props and types. Additionally, the rel="noopener noreferrer" attribute is added to all external links opening in new tabs to improve security and privacy.

Changes

Files/Groups Change Summary
.../ui/tracked-link.tsx, .../ui/NavLink.tsx, .../tw-components/link.tsx, .../tw-components/button.tsx, .../@3rdweb-sdk/react/components/connect-wallet/index.tsx Deleted all tracked link/button components and related types; removed useTrack usage and tracking props from NavLink, link, and button components; simplified or replaced with standard Link/Button components; removed TrackedAnchorLink component.
.../blocks/Sidebar.tsx, .../blocks/SidebarLayout.tsx, .../blocks/UpsellBannerCard.tsx Removed tracking props and logic from sidebar link types and components; replaced tracked link/button usage with standard equivalents.
.../contract-components/published-contract/markdown-renderer.tsx, .../contract-functions/interactive-abi-function.tsx, .../core-ui/batch-upload/batch-lazy-mint.tsx, .../components/smart-wallets/SponsorshipPolicies/index.tsx, .../contract-ui/tabs/code/components/code-overview.tsx Replaced TrackedLink/TrackedUnderlineLink with UnderlineLink or standard Link for all external/internal links; removed tracking metadata and logic.
.../components/cmd-k-search/index.tsx, .../components/buttons/MismatchButton.tsx, .../app/(app)/components/TeamPlanBadge.tsx Removed all useTrack hook usage and event tracking calls from search, mismatch button, and team plan badge components.
.../components/explore/contract-card/index.tsx, .../components/explore/contract-row/index.tsx, .../components/explore/upsells/deploy-your-own.tsx, .../components/explore/upsells/publish-submit.tsx Removed tracking props from contract card/row/upsell components; replaced tracked link usage with standard Link; simplified props and types.
.../app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/*, .../overview/ContractOverviewPage.tsx, .../overview/components/Analytics.tsx Removed trackingCategory props and all tracked link usage from contract overview, analytics, latest events, marketplace details, NFT details, permissions table, and related components; replaced with standard Link components.
.../app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/account/components/nfts-owned.tsx, .../NFTCards.tsx Removed trackingCategory prop and tracked link usage from NFT cards and NFT-owned components; replaced with standard Link.
.../app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/accounts/AccountsPage.tsx, .../accounts/components/accounts-table.tsx Replaced tracked link/copy button with standard LinkButton/Legacy_CopyButton; removed tracking props.
.../app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/settings/components/detected-state.tsx, .../login/onboarding/LinkWalletPrompt/LinkWalletPrompt.tsx Replaced TrackedUnderlineLink with UnderlineLink; removed tracking props.
.../app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/LatestEvents.stories.tsx, .../overview/components/PermissionsTable.stories.tsx Removed trackingCategory from Storybook args.
.../app/(app)/(dashboard)/explore/[category]/page.tsx Removed tracking prop and related logic from contract mapping in explore page.
.../app/(app)/(dashboard)/profile/[addressOrEns]/components/PublishedContractTable.tsx Replaced TrackedLinkTW with Link; removed tracking props; retained manual event tracking where needed.
.../app/(app)/account/contracts/DeployedContractsPageHeader.tsx, .../account/contracts/_components/DeployViaCLIOrImportCard.tsx Replaced TrackedLinkTW with Link for deploy contract/CLI links; removed tracking props.
.../app/(app)/team/[team_slug]/(team)/_components/BillingAlertBannersUI.tsx, .../usage/storage/components/GuideSection.tsx Replaced TrackedLinkTW with Link in billing/guide sections; removed tracking props.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/ProjectFTUX/ProjectFTUX.tsx, .../WaitingForIntegrationCard/WaitingForIntegrationCard.tsx Replaced TrackedLinkTW with Link in FTUX and waiting cards; removed trackingLabel/category from ctas prop types.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/footer/FooterLinksSection.tsx, .../connect/account-abstraction/AAFooterSection.tsx, .../connect/account-abstraction/AccountAbstractionPage.tsx, .../connect/account-abstraction/factories/page.tsx, .../connect/in-app-wallets/_components/footer.tsx, .../connect/in-app-wallets/_components/header.tsx, .../connect/universal-bridge/layout.tsx, .../contracts/page.tsx, .../engine/dedicated/(general)/_components.tsx, .../engine/dedicated/(general)/import/EngineImportPage.tsx, .../engine/dedicated/(instance)/[engineId]/_components/version.tsx, .../engine/dedicated/(instance)/[engineId]/configuration/components/circle-config.tsx, .../engine/dedicated/(instance)/[engineId]/configuration/components/kms-aws-config.tsx, .../engine/dedicated/(instance)/[engineId]/configuration/components/kms-gcp-config.tsx, .../engine/dedicated/(instance)/[engineId]/contract-subscriptions/components/engine-contract-subscription.tsx, .../engine/dedicated/(instance)/[engineId]/metrics/components/EngineSystemMetrics.tsx, .../engine/dedicated/(instance)/[engineId]/overview/components/engine-overview.tsx, .../engine/dedicated/(instance)/[engineId]/relayers/components/relayers-table.tsx, .../engine/dedicated/(instance)/[engineId]/wallet-credentials/components/credential-form.tsx, .../insight/insight-ftux.tsx, .../insight/page.tsx, .../nebula/layout.tsx, .../nebula/nebula-ftux.tsx, .../webhooks/page.tsx Removed all trackingCategory/trackingLabel props and tracked link usage from team/project sidebar, footer, engine, insight, nebula, and webhooks components; replaced with standard Link/UnderlineLink; simplified props and types.
.../components/not-found-page.tsx, .../components/notices/AnnouncementBanner.tsx, .../components/pay/PayAnalytics/PayEmbedFTUX.tsx, .../components/settings/Account/Billing/GatedSwitch.tsx, .../components/settings/ApiKeys/Alerts.tsx Replaced tracked link usage with standard Link/UnderlineLink in not-found page, announcement banners, pay analytics, and settings alerts; removed tracking props.
.../components/contract-components/publisher/publisher-header.tsx Removed useTrack hook and tracking event calls; added rel="noopener noreferrer" to external links; removed tracking constants and onClick handlers for tracking.
.../components/contract-components/shared/sources-panel.tsx, .../components/contract-components/tables/contract-table.tsx Added rel="noopener noreferrer" to external links opening in new tabs; replaced tracked link components with standard or UnderlineLink components.
.../components/pay/PayConfig.tsx, .../components/settings/Account/Billing/CancelPlanModal/CancelPlanModal.tsx, .../components/shared/DocLink.tsx, .../components/smart-wallets/AccountFactories/index.tsx Added or updated rel="noopener noreferrer" attribute on external links opening in new tabs; removed tracking props and components.
.../contexts/error-handler.tsx, .../utils/errorParser.tsx Added rel="noopener noreferrer" to external support links opening in new tabs.
.../app/(app)/(dashboard)/support/definitions.ts Added new file exporting example prompt strings for support page usage.
.../app/(app)/(dashboard)/support/page.tsx Removed example prompts and imported them from new definitions file; updated rel attribute on support ticket link to "noopener noreferrer".
.../app/(app)/team/[team_slug]/(team)/layout.tsx, .../app/(app)/team/[team_slug]/(team)/~/ecosystem/page.tsx Updated import paths for siwaExamplePrompts; added rel="noopener noreferrer" to external links for improved security.
.../app/(app)/team/components/Analytics/EmptyState.tsx, .../EmptyStateCard.tsx, .../PieChartCard.tsx Added rel="noopener noreferrer" attribute to external links opening in new tabs in analytics components.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/cloud/analytics/ftux.client.tsx, .../tx-chart-ui.tsx, .../tx-table-ui.tsx, .../cloud/layout.tsx, .../cloud/server-wallets/components/try-it-out.tsx, .../cloud/tx/[id]/transaction-details-ui.tsx Added rel="noopener noreferrer" attribute to external links opening in new tabs within engine cloud analytics and related components.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/layout.tsx, .../overview/components/engine-instances-table.tsx, .../overview/components/backend-wallets-table.tsx, .../overview/components/create-backend-wallet-button.tsx, .../overview/components/transactions-table.tsx, .../wallet-credentials/components/credential-type-fields/circle.tsx, .../wallet-credentials/components/wallet-credentials.tsx Added rel="noopener noreferrer" attribute to external links opening in new tabs in dedicated engine components.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/insight/blueprint-card.tsx Added rel="noopener noreferrer" attribute to external links opening in new tabs in insight blueprint card.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/layout.tsx Updated import path for siwaExamplePrompts to new definitions file.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/nebula/components/analytics/nebula-analytics-page.tsx Added rel="noopener noreferrer" attribute to external links opening in new tabs in nebula analytics page.
.../app/(app)/team/[team_slug]/(team)/~/settings/billing/components/PlanInfoCard.tsx, .../settings/credits/SettingsCreditsPage.tsx, .../settings/members/InviteSection.tsx Added rel="noopener noreferrer" attribute to external links opening in new tabs in billing, credits, and invite section components.
.../app/(app)/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTableUI.tsx, .../usage/storage/page.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs in usage and storage components.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/cloud/analytics/tx-chart/tx-chart-ui.tsx, .../tx-table-ui.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs in engine cloud analytics components.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/layout.tsx, .../overview/components/engine-instances-table.tsx, .../overview/components/backend-wallets-table.tsx, .../overview/components/create-backend-wallet-button.tsx, .../overview/components/transactions-table.tsx, .../wallet-credentials/components/credential-type-fields/circle.tsx, .../wallet-credentials/components/wallet-credentials.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs in dedicated engine components.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/insight/blueprint-card.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/layout.tsx Updated import path for example prompts.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/nebula/components/analytics/nebula-analytics-page.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs.
.../app/(app)/team/[team_slug]/(team)/~/settings/billing/components/PlanInfoCard.tsx, .../settings/credits/SettingsCreditsPage.tsx, .../settings/members/InviteSection.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs.
.../app/(app)/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTableUI.tsx, .../usage/storage/page.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/cloud/analytics/tx-chart/tx-chart-ui.tsx, .../tx-table-ui.tsx Added rel="noopener noreferrer"` attribute to external links opening in new tabs.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/overview/components/backend-wallets-table.tsx Added rel="noopener noreferrer"` attribute to external blockchain explorer links opening in new tabs.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/overview/components/create-backend-wallet-button.tsx Added rel="noopener noreferrer"` attribute to external documentation links opening in new tabs.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/overview/components/transactions-table.tsx Added rel="noopener noreferrer"` attribute to external transaction hash links opening in new tabs.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/wallet-credentials/components/credential-type-fields/circle.tsx Added rel="noopener noreferrer"` attribute to external Circle docs link opening in new tab.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/wallet-credentials/components/wallet-credentials.tsx Added rel="noopener noreferrer"` attribute to external wallet credentials documentation link opening in new tab.
.../app/(app)/team/[team_slug]/[project_slug]/(sidebar)/insight/blueprint-card.tsx Added rel="noopener noreferrer"` attribute to external insight documentation and playground links.

Sequence Diagram(s)

Not generated, as the changes are broad refactors removing tracking logic rather than introducing or modifying specific control flows.

Possibly related PRs

  • thirdweb-dev/js#7135: Updates the internal implementation of the useTrack hook, which is directly related as this PR removes all usage of tracking and the useTrack hook.
  • thirdweb-dev/js#7134: Adds tracking and clickable upgrade links to the TeamPlanBadge and introduces new upsell banners with tracking; this PR removes or reverses those tracking-related changes, making them directly related but opposite in intent.

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Jun 18, 2025
@jnsdls jnsdls marked this pull request as ready for review June 18, 2025 02:06
@jnsdls jnsdls requested review from a team as code owners June 18, 2025 02:06
Copy link
Member Author

jnsdls commented Jun 18, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Member Author

jnsdls commented Jun 18, 2025

@coderabbitai review

Copy link
Contributor

coderabbitai bot commented Jun 18, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.35%. Comparing base (5f2bca8) to head (d9eee50).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7365   +/-   ##
=======================================
  Coverage   52.35%   52.35%           
=======================================
  Files         939      939           
  Lines       63161    63161           
  Branches     4217     4217           
=======================================
  Hits        33070    33070           
  Misses      29984    29984           
  Partials      107      107           
Flag Coverage Δ
packages 52.35% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jnsdls jnsdls force-pushed the 06-17-posthog_migration_part_3 branch from d3a5396 to f0bb043 Compare June 18, 2025 02:10
@jnsdls jnsdls force-pushed the 06-17-posthog_migration_part_2 branch from 604a6e9 to 6754c8b Compare June 18, 2025 02:10
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 18, 2025 02:10 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 18, 2025 02:10 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 18, 2025 02:10 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 18, 2025 02:10 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 18, 2025 02:10 Inactive
@jnsdls jnsdls force-pushed the 06-17-posthog_migration_part_3 branch from f0bb043 to 50192f2 Compare June 18, 2025 02:14
@jnsdls jnsdls force-pushed the 06-17-posthog_migration_part_2 branch from 6754c8b to 5924b03 Compare June 18, 2025 02:14
@vercel vercel bot temporarily deployed to Preview – nebula June 18, 2025 02:14 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 18, 2025 02:14 Inactive
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: LinkedIn Link Typo and Security Issue

The LinkedIn social media link in the footer has a pre-existing typo in its href attribute (hhttps://www.linkedin.com/company/third-web/), causing a broken link. It also lacks the rel="noopener noreferrer" security attribute, unlike other social media links in the footer that were updated in this commit to include it.

apps/dashboard/src/@/components/blocks/app-footer.tsx#L99-L106

<Button size="icon" variant="ghost" asChild className="size-9">
<Link
href="hhttps://www.linkedin.com/company/third-web/"
target="_blank"
>
<LinkedInIcon className="size-5 text-muted-foreground" />
</Link>
</Button>

Fix in Cursor


Was this report helpful? Give feedback by reacting with 👍 or 👎

Copy link
Contributor

graphite-app bot commented Jun 19, 2025

Merge activity

# Remove Analytics Tracking Components

This PR removes analytics tracking components and properties from the dashboard app. Key changes include:

- Removed `TrackedLinkTW` and `TrackedUnderlineLink` components, replacing them with standard `Link` and `UnderlineLink` components
- Removed tracking properties from sidebar links and navigation components
- Eliminated tracking metadata from contract cards, NFT cards, and marketplace components
- Removed tracking-related props from various UI components
- Simplified component interfaces by removing tracking-specific parameters
- Replaced legacy tracked button components with standard button components

These changes simplify the codebase by removing the analytics tracking layer while maintaining all core functionality.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing security by adding `rel="noopener noreferrer"` to various `Link` components throughout the codebase to prevent potential security vulnerabilities associated with opening links in new tabs.

### Detailed summary
- Added `rel="noopener noreferrer"` to multiple `Link` components for security.
- Removed `tracking` properties from several components.
- Replaced `TrackedLinkTW` with `Link` or `UnderlineLink` in various files.
- Updated imports to use `Link` from `next/link` instead of custom tracking links.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/metrics/components/EngineSystemMetrics.tsx`, `apps/dashboard/src/tw-components/link.tsx`, `apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/_components/NFTCards.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/import/EngineImportPage.tsx`, `apps/dashboard/src/components/explore/upsells/deploy-your-own.tsx`, `apps/dashboard/src/components/contract-functions/interactive-abi-function.tsx`, `apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/LatestEvents.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/contract-subscriptions/components/engine-contract-subscription.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(general)/_components.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/engine/dedicated/(instance)/[engineId]/_components/version.tsx`, `apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/NFTDetails.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`, `apps/dashboard/src/components/contract-components/publisher/publisher-header.tsx`, `apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/ContractOverviewPage.tsx`, `apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/PermissionsTable.tsx`, `apps/dashboard/src/app/(app)/(dashboard)/profile/[addressOrEns]/components/PublishedContractTable.tsx`, `apps/dashboard/src/components/explore/contract-card/index.tsx`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/connect/account-abstraction/factories/page.tsx`, `apps/dashboard/src/components/embedded-wallets/Configure/index.tsx`, `apps/dashboard/src/@/components/blocks/app-footer.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/footer/FooterLinksSection.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/connect/account-abstraction/AccountAbstractionPage.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/ProjectSidebarLayout.tsx`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/tw-components/button.tsx`, `apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`, `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/components/ProjectFTUX/ProjectFTUX.tsx`, `apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/MarketplaceDetails.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **Refactor**
  - Removed all analytics tracking from links and buttons across the dashboard.
  - Replaced custom tracking link and button components with standard or simplified alternatives.
  - Updated component props and interfaces to eliminate tracking-related fields.
  - Streamlined UI components by removing tracking props and logic, resulting in cleaner navigation and interactions.

- **Style**
  - Added `rel="noopener noreferrer"` attribute to all external links opening in new tabs for improved security and privacy.
  - Minor adjustments to link styling in some components to accommodate new link components.

No changes to core functionality or user workflows; navigation and UI remain consistent.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the 06-17-posthog_migration_part_2 branch from 738e9bb to 5f2bca8 Compare June 19, 2025 00:54
@graphite-app graphite-app bot force-pushed the 06-17-posthog_migration_part_3 branch from 0a882e9 to d9eee50 Compare June 19, 2025 00:55
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 19, 2025 00:55 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 19, 2025 00:55 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 19, 2025 00:55 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 19, 2025 00:55 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 19, 2025 00:55 Inactive
Base automatically changed from 06-17-posthog_migration_part_2 to main June 19, 2025 01:03
@graphite-app graphite-app bot merged commit d9eee50 into main Jun 19, 2025
23 checks passed
@graphite-app graphite-app bot deleted the 06-17-posthog_migration_part_3 branch June 19, 2025 01:05
@vercel vercel bot temporarily deployed to Production – login June 19, 2025 01:05 Inactive
@vercel vercel bot temporarily deployed to Production – nebula June 19, 2025 01:05 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui June 19, 2025 01:05 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 June 19, 2025 01:05 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground June 19, 2025 01:05 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www June 19, 2025 01:18 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants